package base.net.socket.events
{
	import base.event.EventBase;

	public class SocketConnectionEvent extends EventBase
	{
		/**
		 * 连接成功
		 */
		public static const CONNECTABLE:String="connectable";
		/**
		 * 连接IO错误
		 */
		public static const IO_ERROR:String="ioError";
		/**
		 * 连接安全错误
		 */
		public static const SECURITY_ERROR:String="securityError";		
		/**
		 * 连接关闭
		 */
		public static const CLOSE:String="close";		
		/**
		 * 收到数据包
		 */
		public static const RECEIVABLE_PACKET:String="receivablePacket";
		/**
		 * 协议握手完成
		 */
		public static const HANDSHAKE_COMPLETE:String="handshakeComplete";

		public function SocketConnectionEvent(type:String, data:Object = null)
		{
			super(type, data);
		}
	}
}